package com.cw.jeeyt.dao.model.security;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Table;

import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 角色信息Do
 *
 * @author chenw
 * @date 2020-03-18 20:05:22
 */
@Table(name = "security_role")
@Getter
@Setter
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class SecurityRoleDo extends SecurityRoleKeyDo implements Serializable {
    private static final long serialVersionUID = 1240247925858656261L;
    /** 用户名称 */
    @Column(name = "name")
    private String name;
    /** 说明 */
    @Column(name = "comment")
    private String comment;
    /** 父id */
    @Column(name = "parent_id")
    private Long parentId;
    /** 机构编号 */
    @Column(name = "org_id")
    private Long orgId;
    /** 角色类型 */
    @Column(name = "role_type")
    private String roleType;
    /** 机构名称 */
    private String orgName;
}
